// 表头定义
export const dutyManageColumns = [
  {type: 'index', label: '序号', width: '60'},
  {prop: 'positionCode', label: '编码', width: '130'},
  {prop: 'positionName', label: '岗位名称', width: '150'},
  {prop: 'parentPositionName', label: '上级岗位', minWidth: '120'},
  {prop: 'positionDesc', label: '岗位描述', minWidth: '200'},
  {prop: 'orgName', label: '所属部门', width: '150'},
  {prop: 'createdBy', label: '创建者', width: '120'},
  {prop: 'createdAt', label: '创建时间', width: '150'},
  {prop: 'operation', label: '操作', fixed: 'right', width: '150'}
]
// 弹出层form
export const formRules = {
  positionName: [{required: true, message: '请输入岗位名称', trigger: 'blur'}],
  orgId: [{required: true, message: '请选择组织', trigger: 'blur'}]
  // parentPositionId: [
  //   { required: true, message: '请选择上级岗位', trigger: 'blur' }
  // ]
}
